/**
 * User: alesj
 * Date: 2004.9.3
 * Time: 10:30:34
 */

package com.generalynx.common.utils;

import java.util.Comparator;

public class CheckableComparator implements Comparator {

    public int compare(Object o1, Object o2) {
        ICheckable c1 = (ICheckable)o1;
        ICheckable c2 = (ICheckable)o2;
        return c1.getCheckKey().getDate().compareTo(c2.getCheckKey().getDate());
    }
}
